package com.yourwork.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.ui.Model;

import com.yourwork.model.ServiceProject;
import com.yourwork.model.TypeManagement;

public interface ServiceProjectService {
	//根据id查询服务表的数据
	public ServiceProject queryServiceItem(int id);
	//查询所有数据
	public List<ServiceProject> queryServiceItemAll(boolean status);
	//添加服务项目
	public String insertServiceItem(ServiceProject serviceItem, int[] typeId);
	//删除服务项目
	public String updateStatus(ServiceProject serviceItem);
	//查询员工类型
	public List<TypeManagement> queryEmployeeType();
	//分页查询
	public List<ServiceProject> queryServiceItemAllF(int page, int size, boolean status);
	//最大页数
	public int queryMaxPage(int page, int size,boolean status);
}
